package com.example.demo.repository.domain;

import org.springframework.boot.autoconfigure.domain.EntityScan;

/**
 * @author ZhangKe
 * @Description
 * @date 2019/7/2 20:22.
 */
@EntityScan
public class TestEntity {

    /**
     * 测试实体类ID
     */
    private Integer id;

    /**
     * 名称
     */
    private String name;

    public TestEntity() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "TestEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
